﻿Public Class WebForm11
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        titlesSqlDataSource1.Insert()
        GridView1.DataBind()

    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        TxtBox1title_id.Text = ""
        TxtBox2title.Text = ""
        TxtBox3type.Text = ""
        TxtBox4pub_id.Text = ""
        TxtBox5price.Text = ""
        TxtBox6advance.Text = ""
        TxtBox7royalty.Text = ""
        TxtBox8ytd_sales.Text = ""
        TxtBox9notes.Text = ""
        TxtBox10pubdate.Text = ""
        TxtBox1title_id.Focus()
    End Sub
End Class